from flask import Flask

'''
Flask 路由功能
'''
app = Flask(__name__)

# URL路径参数
@app.route('/user/<username>')
def get_user(username):
    return 'hello {}'.format(username)


if __name__ == "__main__":
    app.run()

